let href = location.href;//截取URL地址区分是否带项目路径
let cutTag = '/jeeadmin';

export function setBaseUrl(state) {
    let localHref = href.substring(0, href.indexOf(cutTag));
    return process.env.baseUrl === '' ? localHref : process.env.baseUrl;//判断是否分离部署
}
